// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com

// ReSharper disable CheckNamespace
// ReSharper disable CommentTypo
// ReSharper disable IdentifierTypo

/* LimitKind.cs -- единица ограничения доступа к ресурсу
 * Ars Magna project, http://arsmagna.ru
 */

#region Using directives

using AM.Reflection;

#endregion

#nullable enable

namespace ManagedIrbis.Drm;

/// <summary>
/// Единица ограничения доступа к ресурсу.
/// </summary>
public static class LimitKind
{
    #region Constants

    /// <summary>
    /// Страница.
    /// </summary>
    public const string Page = "";

    /// <summary>
    /// Процент.
    /// </summary>
    public const string Percent = "%";

    #endregion

    #region Public methods

    /// <summary>
    /// Получение массива значение констант.
    /// </summary>
    public static string[] ListValues()
    {
        return ReflectionUtility.ListConstantValues<string> (typeof (LimitKind));
    }

    #endregion
}
